cmake_minimum_required(VERSION 3.22)
project(C_test C)

set(CMAKE_C_STANDARD 99)

# 为每个含main的文件创建独立目标
add_executable(test-01 test-01.c)
add_executable(test-02 test-02.c)
add_executable(test-03 test-03.c)
add_executable(test-04 test-04.c)
add_executable(test-05 test-05.c)
add_executable(test-06 test-06.c)
add_executable(test-07 test-07.c)
add_executable(test-08 test-08.c)
add_executable(test-09 test-09.c)
add_executable(test-10 test-10.c)
add_executable(test-11 test-11.c)
add_executable(test-12 test-12.c)
add_executable(test-13 test-13.c)
add_executable(test-14 test-14.c)
add_executable(test-15 test-15.c)